-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tiny fixes #71
Add tiny fixes #71
Conversation
@@ -1,2 +1,3 @@ | |||
ARROW_S3=ON | |||
ARROW_WITH_SNAPPY=ON | |||
AWS_REGION=us-east-1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is present in the res repo but not this one. Not having it causes the SNS topic publish to fail.
if (sum(!is.na(n_sales)) >= min_n) { | ||
return(fn) | ||
} else { | ||
return(rep(na_type, length(n_sales))) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the changes in this file were just automatically performed by renv
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The deps in this lockfile were slightly ahead of the versions in the default renv.lock
. This resulted in a renv out of sync
error in production because we install these deps using renv::restore(lockfile="renv/profiles/reporting/renv.lock")
, meaning they overwrite whatever version is initially installed from the default lockfile.
Syncing the versions fixes this issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good 👍🏻
This PR makes a few tiny fixes to get the residential model up and running. See PR comments for details.